<html>
        <script language="javascript">
            /* This function is invoked by the activity */
                function wave(text) {
                    alert("1");
                    
                    var y =  document.getElementById("testje");
                     var newdiv = document.createElement('div');
  newdiv.setAttribute('id',"hhhhh");
  newdiv.innerHTML = text;
  y.appendChild(newdiv);
                    
                       
                        
                        
                        alert("2");
                }
        </script>
        <body>
            <!-- Calls into the javascript interface for the activity -->
            <a onClick="window.demo.clickOnAndroid('feeds2.feedburner.com/tweakers/games')"> <div style="width:80px;
                        margin:0px auto;
                        padding:10px;
                        text-align:center;
                        border:2px solid #202020;" >
                                <img id="droid" src="android_normal.png"/><br>
                                Click me!
                </div></a>
                
                <div id="testje"></div>
                
                
                <input type="text" id="lname" />
                
                <button type="button" name ="button" onclick="klik()">Click Me!</button>
                                <input type="text" id="rname" />
                
                
                 <script language="javascript">
          
          
                function klik() {
 
				var van =  document.getElementById("lname");
				var naar =  document.getElementById("rname");
				
				naar.value = van.value;
				
               }
               
        </script>
                
                
                
        </body>
</html>
